package ink.yuanchu.picachoframework.dao;

import ink.yuanchu.picachoframework.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ziyuan
 * @since 2021-02-20
 */
@Repository
public interface RoleMapper extends BaseMapper<Role> {

    /**
     * 根据roleId查找
     * @param roleId
     * @return
     */
    Role findByRoleId(String roleId);
}
